home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 August: Tool Chest / Apple_Developer_CD_Series_August_1997_Tool_Chest.iso / Sample Code / Printing / PDlog Expand (TN PR09) / About PDlog Expand.doc next >
Encoding:
Text File  |  1996-09-24  |  1.7 KB  |  25 lines  |  [TEXT/ttxt]

  1.  
  2. Hey!  What the Heck is this?!
  3.  
  4. sample: PDlog Expand
  5. Language: MWC 8
  6.  
  7. This example shows how to add items to print dialogs.  It’s essentially the code in Tech Note PR09, only in C.  Note that in v1.0.2, a bug was corrected which is also in the Tech Note.
  8.  
  9. - Dave Hersey
  10.   Apple Developer Technical Support
  11.   
  12.   10/9/91… v1.0
  13.   2/25/92… v1.0.1 --> fixed lack of print handle tossing and added something to print.
  14.   9/29/93… v1.0.2 --> fixed a problem with the Append_DITL routine which caused an
  15.                                                                      extra 2 bytes of garbage to be appended to the DITL.
  16.   6/20/95… v1.0.3 --> updated for Universal Headers and MWC-PPC   <njvt>
  17.   11/16/95    v1.0.4 --> updated to use CallPItemProc() and PItemUPP. Make it fully ANSI.
  18.                        Explicitly include needed headers, so back-port to MPW is easier.      <davep>
  19.   6/10/96… v1.1 --> Probably shoulda bumped to 1.1 at 1.0.4, but better late than never.
  20.                        Update version resources, and make the buttonn we add open another dialog
  21.                                         with yet more stuff in it. Added balloon help to demonstrate how that works, too.
  22.     8/21/96… v1.1.1 --> Added the list for a sample     (mxm)
  23.     9/3/96… v1.1.2 --> Change list handling to match recommendations of LW8 engineering. <davep>
  24. • NOTE: To append help for the items you're appending to the print dialog, you have to use a 'HMScanAppendhdlg' item. This type isn't readily available from Resorcerer or ResEdit, so that's why I switched to Rez source for the resources. <davep>
  25. • Another NOTE: As of System 7.5.3, neither our Append_DITL nor the system version handles appending of 'ictb' or 'dctb's correctly. This is a bug that's planned to be fixed in the future, but I'm warning you about it here. <davep>